{{ define "posts/detail.html" }}
{{template "public/header" .}}

 <!-- 中间内容区局 -->
    <div class="container">
        <div class="row">
            <!-- 左侧菜单区域   -->
            {{block "menu" .}}{{end}}

            <!-- 右侧内容区域 -->
            <div class="col-md-9">
                <div class="panel panel-default">
                <div class="panel-heading">学生详情</div>
                <table class="table table-bordered table-striped table-hover ">
                    <tbody>
                        <tr>
                            <td width="50%">ID</td>
                            <td>{{.info.ID}}</td>
                        </tr>
                        <tr>
                            <td>姓名</td>
                            <td>{{.info.Name}}</td>
                        </tr>
                        <tr>
                            <td>年龄</td>
                            <td>{{.info.Age}}</td>
                        </tr>
                        <tr>
                            <td>性别</td>
                            <td>{{.info.Gender}}</td>
                        </tr>
                        <tr>
                            <td>添加时间</td>
                            <td>{{.info.CreatedAt}}</td>
                        </tr>
                    </tbody>
                </table>
            </div>
            </div>
        </div>
    </div>

{{end}}